package com.gen.entity;

import java.util.List;

public class User_course {
	private String courseid;
	private String coursename;
	private Float credit;
	private Integer departid;
	private String departname;
	private Integer teacher;
	private String teachername;
	private List<Student> students;
	public String getCourseid() {
		return courseid;
	}
	public void setCourseid(String courseid) {
		this.courseid = courseid;
	}
	public String getCoursename() {
		return coursename;
	}
	public void setCoursename(String coursename) {
		this.coursename = coursename;
	}
	public Float getCredit() {
		return credit;
	}
	public void setCredit(Float credit) {
		this.credit = credit;
	}
	public Integer getDepartid() {
		return departid;
	}
	public void setDepartid(Integer departid) {
		this.departid = departid;
	}
	public String getDepartname() {
		return departname;
	}
	public void setDepartname(String departname) {
		this.departname = departname;
	}
	public Integer getTeacher() {
		return teacher;
	}
	public void setTeacher(Integer teacher) {
		this.teacher = teacher;
	}
	public String getTeachername() {
		return teachername;
	}
	public void setTeachername(String teachername) {
		this.teachername = teachername;
	}
	public List<Student> getStudents() {
		return students;
	}
	public void setStudents(List<Student> students) {
		this.students = students;
	}
	public User_course(String courseid, String coursename, Float credit, Integer departid, String departname,
			Integer teacher, String teachername, List<Student> students) {
		super();
		this.courseid = courseid;
		this.coursename = coursename;
		this.credit = credit;
		this.departid = departid;
		this.departname = departname;
		this.teacher = teacher;
		this.teachername = teachername;
		this.students = students;
	}
	public User_course() {
		super();
	}
	@Override
	public String toString() {
		return "User_course [courseid=" + courseid + ", coursename=" + coursename + ", credit=" + credit + ", departid="
				+ departid + ", departname=" + departname + ", teacher=" + teacher + ", teachername=" + teachername
				+ ", students=" + students + "]";
	}

	
}
